import random


def generate_random_phone_number():
    # 定义电话号码前三位的号段
    phone_number_prefixes = [
        "130", "131", "132", "133", "134", "135", "136", "137", "138", "139",
        "150", "151", "152", "153", "155", "156", "157", "158", "159",
        "186", "187", "188", "189"
    ]
    # 随机选择一个号段
    prefix = random.choice(phone_number_prefixes)
    # 后面的八位可以随机生成数字
    suffix = random.randint(0, 99999999)
    # 使用字符串格式化将前缀和后缀拼接起来
    phone_number = "{}{:08d}".format(prefix, suffix)

    return phone_number


# 示例用法
print(generate_random_phone_number())
print(123)